package org.example.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 情侣相册表
 * @TableName CoupleAlbum
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Couplealbum implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    /**
     * 情侣共同id
     */
    private Integer coupleId;

    /**
     * 封面图片的URL
     */
    private String coverImageUrl;

    /**
     * 相册名称
     */
    private String albumName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}